// pages/mine/lookforAfterSale/lookforAfterSale.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    mineList: [
      
    ],
    windowWidth: 0
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    let that = this
    wx.getSystemInfo({
      success: function (res) {
        // console.log(res.windowWidth)
        // console.log(res.windowHeight)
        that.setData({
          windowWidth: res.windowWidth
        })
        let mineList = [
          { list: "申请售后", url: "../myform/myform?activeIndex=4&sliderOffset=" + (that.data.windowWidth * 0.73125) },
          { list: "售后记录", url: "../myform/myform?activeIndex=4&sliderOffset=" + (that.data.windowWidth * 0.73125)  }
        ]
        that.setData({
          mineList: mineList
        })
      },
    })
  }
})